<template>
  <div id="app">
    <tar-bar v-if="this.$route.meta.isNav"></tar-bar>
    <Fade>
     <router-view/> 
    </Fade>
    

  </div>
</template>

<script>
import Fade from './components/Fade.vue'
import TarBar from './components/TarBar.vue'
  export default{
    components:{
      TarBar,
      Fade
    },
    computed:{
      isShow(){
        return this.$route.Meta.isNav
      }
    },
    mounted() {
    console.log(this.$route);
  },
  }
  
</script>


<style>
*{
  margin: 0;
  padding: 0;
}
#app{
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}
h1 {
  text-align: center;
  padding: 20px;
  font-size: 35px;
  color: #fff;
  background-color: #b3d4df;
}
</style>
